package com.qys.livesMall.system.model.dto.sys;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 * 首页轮播图
 * </p>
 *
 * @author dp
 * @since 2023-05-02
 */
@Data
public class H2AppHomeBannerStateDTO implements Serializable {

    @Schema(description = "id 不能为空")
    @NotNull(message = "理财产品ID不能为空")
    private String id;

    @Schema(description = "状态 0未开启  1已开启")
    @NotNull(message = "状态不能为空")
    private Integer state;

}
